<template>
  <div id="main">
    
    <Header></Header>
    
    <div class="main-wrapper">
      <router-view/>
    </div>
    
    
  </div>
</template>

<script>
// import axios from 'axios'

export default {
  name: 'main2',
  methods: {
    
    login() {

      var params = {}
      params.ACTIONNAME = 'getPlInfo';
      params.xlid = '0BB489AB-66C9-4879-A1C9-F36F7D6DB948';
      params.index = '0';
      params.count = '10';
      this.$get(params).then(res => {
        window.console.log(res)
      })

      // var thedata = {};
      // thedata.ACTIONNAME = 'getPlInfo';
      // var tp = {};
      // tp.xlid = '0BB489AB-66C9-4879-A1C9-F36F7D6DB948';
      // tp.index = '0';
      // tp.count = '10';

      // thedata.DATA = JSON.stringify(tp);

      // axios.get('https://www.lingdongzhe.com/ldztest/LdzWebService.do',{params: {
      //   data: JSON.stringify(thedata)
      // }})
      // .then(res => {
      //   window.console.log(res)
      // });
    }
  }
}
</script>